ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / TriangleBoxGradientBrush Class / TriangleBoxGradientBrush Constructor / TriangleBoxGradientBrush Constructor(Color[],ContentAlignment)
An array of System.Drawing.Color that indicates the linear gradient colors.
A System.Drawing.ContentAlignment that indicates the gradient centre point.

In This Topic
    TriangleBoxGradientBrush Constructor(Color[],ContentAlignment)
    In This Topic
    Initializes a new instance of the TriangleBoxGradientBrush class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal colors() As Color, _
       ByVal centrePoint As ContentAlignment _
    )
    public TriangleBoxGradientBrush( 
       Color[] colors,
       ContentAlignment centrePoint
    )

    Parameters

    colors
    An array of System.Drawing.Color that indicates the linear gradient colors.
    centrePoint
    A System.Drawing.ContentAlignment that indicates the gradient centre point.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also